package cn.yangke.basic.service;

import cn.yangke.basic.dto.RegisterDto;

/**
 * @Author YangKe
 * @Date 2022/6/15 18:55
 */
public interface IVerifyCodeService {
    /**
     * 发送图片验证key
     * @param key
     * @return
     */
    String imageCode(String key);

    /**
     * 短信验证码
     * @param dto
     * @return
     */
    void smsCode(RegisterDto dto);
}
